<script lang="ts" setup>
import type { MenuFunctionsInterface } from './type'
const normalMenuList: MenuFunctionsInterface[] = [
  {
    id: '149099626199449600',
    parentId: '0',
    sysCode: 'cpoe',
    systemId: '149099458477621248',
    funcType: '1',
    funcCode: '临床医疗',
    funcName: '临床医疗',
    funcSort: '0',
    funcHome: 'N',
    funcParam: null,
    enableFlag: 'Y',
    pyCode: null,
    wbCode: null,
    funcIcon: 'icon-menucailiaojibenxinxi',
    funcPath: null,
    children: [
      {
        id: '172298368964558848',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'projectsWithinTheSection',
        funcName: '科内项目信息',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/projectsWithinTheSection',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '149099721917661184',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'diagnosis_general',
        funcName: '常用诊断',
        funcSort: '1',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/general',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '149099805883432960',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'diagnosis_clinical',
        funcName: '临床诊断',
        funcSort: '2',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/clinical',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '149099887248736256',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '患者诊断',
        funcName: '患者诊断',
        funcSort: '3',
        funcHome: 'N',
        funcParam:
          'appType=1&patient={"patientId":"600000001","patientVisitId":"I68354862840066048","patientType":"2","visitId":3}',
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/record',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '149894979102375936',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe',
        funcName: '疾病分类',
        funcSort: '4',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/icd',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '309024899580755968',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'pts_handlehospitalcard',
        funcName: '住院证办理',
        funcSort: '6',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: '/pts/handleHospitalCard',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:15000/',
      },
      {
        id: '309025008708157440',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'pts_subsequentvisit',
        funcName: '复诊预约登记',
        funcSort: '7',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: '/pts/subsequentVisit',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:15000/',
      },
      {
        id: '309025110420029440',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'pts_furthervisitrecord',
        funcName: '查看已登记信息',
        funcSort: '8',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: '/pts/furtherVisitRecord',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:15000/',
      },
      {
        id: '309025225650143232',
        parentId: '149099626199449600',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'pts_patientlist',
        funcName: '患者列表',
        funcSort: '9',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: '/pts/patientList',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:15000/',
      },
    ],
    isOpen: false,
  },
  {
    id: '188329174170271744',
    parentId: '0',
    sysCode: 'cpoe',
    systemId: '149099458477621248',
    funcType: '1',
    funcCode: '医嘱开立',
    funcName: '医嘱管理',
    funcSort: '2',
    funcHome: 'N',
    funcParam: null,
    enableFlag: 'Y',
    pyCode: null,
    wbCode: null,
    funcIcon: 'StarFilled',
    funcPath: null,
    children: [
      {
        id: '251375233527906304',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '医嘱开立',
        funcName: '医嘱开立',
        funcSort: '0',
        funcHome: 'Y',
        funcParam: 'appType=1',
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumenzhenfenshiweihu',
        funcPath: '/cpoe/issuing/cpoe',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '291502597985206272',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '病理项目信息维护',
        funcName: '病理项目信息维护',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/pathologyProjectInfo',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '291502670857043968',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '病理申请单确认',
        funcName: '病理申请单确认',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/pathologyApplicationForm',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '303897759872909312',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'transfusionReview',
        funcName: '输血审批',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: '/cpoe/transfusionReview',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '303897991230717952',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'bloodFormPrint',
        funcName: '取血单打印',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: '/cpoe/bloodFormPrint',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '318771389291233280',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.order.drugreturn',
        funcName: '门诊退方申请',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menuxiyijibingfenlei',
        funcPath: '/cpoe/returnDrug',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '319408601116639232',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '1',
        funcCode: null,
        funcName: '会诊',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menukuaijiecaidan',
        funcPath: null,
        children: [
          {
            id: '319408601137610752',
            parentId: '319408601116639232',
            sysCode: 'cpoe',
            systemId: '149099458477621248',
            funcType: '2',
            funcCode: null,
            funcName: '院内大会诊',
            funcSort: '0',
            funcHome: 'N',
            funcParam: null,
            enableFlag: 'Y',
            pyCode: null,
            wbCode: null,
            funcIcon: 'icon-menukuaijiecaidan',
            funcPath: '/cpoe/hospitalConsultation',
            children: null,
            isOpen: false,
            sysIdentifier: 'cpoe',
            url: '//192.168.66.10:16000/',
          },
          {
            id: '319411090951962624',
            parentId: '319408601116639232',
            sysCode: 'cpoe',
            systemId: '149099458477621248',
            funcType: '2',
            funcCode: null,
            funcName: '会诊班次维护',
            funcSort: '0',
            funcHome: 'N',
            funcParam: null,
            enableFlag: 'Y',
            pyCode: null,
            wbCode: null,
            funcIcon: 'icon-menukuaijiecaidan',
            funcPath: '/cpoe/schedulingConsultation',
            children: null,
            isOpen: false,
            sysIdentifier: 'cpoe',
            url: '//192.168.66.10:16000/',
          },
          {
            id: '319411090993905664',
            parentId: '319408601116639232',
            sysCode: 'cpoe',
            systemId: '149099458477621248',
            funcType: '2',
            funcCode: null,
            funcName: '会诊科室配置',
            funcSort: '0',
            funcHome: 'N',
            funcParam: null,
            enableFlag: 'Y',
            pyCode: null,
            wbCode: null,
            funcIcon: 'icon-menukuaijiecaidan',
            funcPath: '/cpoe/consultationDeptConfig',
            children: null,
            isOpen: false,
            sysIdentifier: 'cpoe',
            url: '//192.168.66.10:16000/',
          },
          {
            id: '319411091040043008',
            parentId: '319408601116639232',
            sysCode: 'cpoe',
            systemId: '149099458477621248',
            funcType: '2',
            funcCode: null,
            funcName: '会诊科室排班',
            funcSort: '0',
            funcHome: 'N',
            funcParam: null,
            enableFlag: 'Y',
            pyCode: null,
            wbCode: null,
            funcIcon: 'icon-menukuaijiecaidan',
            funcPath: '/cpoe/consultationDeptScheduling',
            children: null,
            isOpen: false,
            sysIdentifier: 'cpoe',
            url: '//192.168.66.10:16000/',
          },
          {
            id: '319411091090374656',
            parentId: '319408601116639232',
            sysCode: 'cpoe',
            systemId: '149099458477621248',
            funcType: '2',
            funcCode: null,
            funcName: '会诊患者列表',
            funcSort: '0',
            funcHome: 'N',
            funcParam: null,
            enableFlag: 'Y',
            pyCode: null,
            wbCode: null,
            funcIcon: 'icon-menukuaijiecaidan',
            funcPath: '/cpoe/consultationPatient',
            children: null,
            isOpen: false,
            sysIdentifier: 'cpoe',
            url: '//192.168.66.10:16000/',
          },
        ],
        isOpen: false,
      },
      {
        id: '320244849016242176',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.herb.set',
        funcName: '草药套餐维护',
        funcSort: '0',
        funcHome: 'N',
        funcParam: 'appType=1',
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menukuaijiecaidan',
        funcPath: '/cpoe/herbSet',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '267952506489995264',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.core.order.set',
        funcName: '医嘱套餐',
        funcSort: '1',
        funcHome: 'N',
        funcParam: 'appType=1',
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menuyaopinxinxiweihu',
        funcPath: '/cpoe/orderSet',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '294507034722893824',
        parentId: '188329174170271744',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.operation.audit',
        funcName: '手术审批',
        funcSort: '5',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menulishicaozuojilu',
        funcPath: '/cpoe/operationAudit',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
    ],
    isOpen: false,
  },
  {
    id: '247739052248465408',
    parentId: '0',
    sysCode: 'cpoe',
    systemId: '149099458477621248',
    funcType: '1',
    funcCode: '医嘱管理',
    funcName: '医嘱配置',
    funcSort: '3',
    funcHome: 'N',
    funcParam: null,
    enableFlag: 'Y',
    pyCode: null,
    wbCode: null,
    funcIcon: 'icon-menumubanguanli',
    funcPath: null,
    children: [
      {
        id: '172296722893176832',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'orderFlow',
        funcName: '医嘱流向配置',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/orderFlow',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '247743005661003776',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '医嘱基础配置维护',
        funcName: '医嘱基础配置维护',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumubanguanli',
        funcPath: '/cpoe/baseSetting',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '276713932931137536',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'combined_management_configuration',
        funcName: '合管规则配置',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumubanguanli',
        funcPath: '/cpoe/combinedTube',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '311444197674778624',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.core.checkup',
        funcName: '检查项目信息维护',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: '/cpoe/checkupConfig',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '313722048688095232',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.core.inspection',
        funcName: '检验项目信息维护',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menukuaijiecaidan',
        funcPath: '/cpoe/inspectConfig',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '317315842876571648',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: null,
        funcName: '毒麻精疗程限制配置',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menukuaijiecaidan',
        funcPath: '/cpoe/toxicHempEssence',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '317693375430197248',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: null,
        funcName: '越权流程配置',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menukuaijiecaidan',
        funcPath: '/cpoe/exceedingAuthorityProcess',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '317693375912542208',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: null,
        funcName: '审批特殊抗菌药物会诊',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menukuaijiecaidan',
        funcPath: '/cpoe/approveAntibacterial',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '264089233365598208',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '分单规则配置',
        funcName: '分单规则配置',
        funcSort: '3',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumubanguanli',
        funcPath: '/cpoe/splitOrderRule',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '264427232834027520',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '单据附加费配置',
        funcName: '单据附加费配置',
        funcSort: '4',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumubanguanli',
        funcPath: '/cpoe/surchargeConfig',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '266879696342548480',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '医嘱执行配置',
        funcName: '住院医嘱执行配置',
        funcSort: '5',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/executeConfig',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '188342027413553152',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '医嘱闭环',
        funcName: '医嘱闭环配置',
        funcSort: '6',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/closedLoop',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '286140804395892736',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.config.administration',
        funcName: '给药途径与项目关联',
        funcSort: '9',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumubanguanli',
        funcPath: '/cpoe/administration',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '286868598490857472',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.config.show',
        funcName: '医嘱显示配置',
        funcSort: '10',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumubanguanli',
        funcPath: '/cpoe/orderShowConfig',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '301380466773262336',
        parentId: '247739052248465408',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: 'cpoe.config.transfusion',
        funcName: '输血相关配置维护',
        funcSort: '12',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumubanguanli',
        funcPath: '/cpoe/transfusionConfig',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
    ],
    isOpen: false,
  },
  {
    id: '265500121981190144',
    parentId: '0',
    sysCode: 'cpoe',
    systemId: '149099458477621248',
    funcType: '1',
    funcCode: '医嘱执行',
    funcName: '医嘱执行',
    funcSort: '5',
    funcHome: 'N',
    funcParam: null,
    enableFlag: 'Y',
    pyCode: null,
    wbCode: null,
    funcIcon: 'StarFilled',
    funcPath: null,
    children: [
      {
        id: '288311693858242560',
        parentId: '265500121981190144',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '住院皮试管理',
        funcName: '住院皮试管理',
        funcSort: '0',
        funcHome: 'N',
        funcParam: 'appType=2',
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/skin/cpoe',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '265504184554684416',
        parentId: '265500121981190144',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '辅诊医嘱执行',
        funcName: '辅诊医嘱执行',
        funcSort: '1',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menumubanguanli',
        funcPath: '/cpoe/out',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '266577979256274944',
        parentId: '265500121981190144',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '住院护士核对&执行',
        funcName: '住院护士核对&执行',
        funcSort: '2',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menuhuanzhezhanghuguanli',
        funcPath: '/cpoe/inHospital',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
      {
        id: '307468401905958912',
        parentId: '265500121981190144',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '2',
        funcCode: '跨科治疗执行',
        funcName: '跨科治疗执行',
        funcSort: '4',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'StarFilled',
        funcPath: '/cpoe/jumpTreatment',
        children: null,
        isOpen: false,
        sysIdentifier: 'cpoe',
        url: '//192.168.66.10:16000/',
      },
    ],
    isOpen: false,
  },
]

const handleSelect = (index: string) => {
  console.log(index)
}
</script>

<template>
  <div>
    <HcTopMenu
      :normal-menu-list="normalMenuList"
      @handleSelect="handleSelect"
    />
  </div>
</template>
